x86/hvm: Perform a user instruction fetch for a FEP in userspace
authorAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 16 Jun 2016 13:36:44 +0000 (14:36 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 8 Sep 2016 15:39:46 +0000 (16:39 +0100)
commit0831e99446121636045cf6f616a1991d6ef22071
tree30b16e7ba412a0fc2a1e9dd9a363689214b2e801
parent78dd2c4b3b5f28cbe1c15796815e4f9732662f8a
x86/hvm: Perform a user instruction fetch for a FEP in userspace

This matches hardware behaviour, and prevents erroneous failures when a guest
has SMEP/SMAP active and issues a FEP from userspace.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/hvm/hvm.c